<?php
    session_start();
    include('class.php');
    $id=$_SESSION['newid'];
?>

<html>
<p style="margin-top:50px; position:center; font-size:100px;">this is your ID: </p>
<p style="font-size:100px;"><?php echo $id;?></p>
<form action="gotoLogin.php">
<button>OK</button>
</form>
</html>